<!--<?php
require_once template('header'); 
print <<< EOT
<!--右边开始-->
<script language="javascript">
$(function(){
//主定单选择
$("#one_menu").change(function(){
$("#order_one:input").val($("#one_menu").val()); 
});
//从定单选择
$("#two_menu").change(function(){
$("#order_two:input").val($("#two_menu").val()); 
});
});
</script>
<div id="right">
	<form action="" method="post" name="merge_order" id="merge_order">
	<input type="hidden" name="setp" id="setp" value="1"/>
	<table cellpadding="0" cellspacing="1" class="list1">
		<tr>
			<th colspan="3">定单合并</th>
		</tr>
		<tr >
			<td width="30%">定单合并</td>
			<td width="60%" class="cpsm">主定单 <input type="text" name="order_one" id="order_one"  size="30" maxlength="255" class="text" /> $one_menu
			  <br /><br />
			  从定单 <input type="text" name="order_two" id="order_two"  size="30" maxlength="255" class="text" /> $two_menu</td>
			<td class="cpsm"><input name="submit" type="submit" value=" 合并 " /></td>
		</tr>
	</table>
	</form>
</div>
<!-- end -->
<!--
EOT;
?>-->